﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using CRMEntity;

namespace CRMAdapter.AppCode
{
    public static class DecisionLogic
    {
        public static string DisplayHelloWorld()
        {
            CRMAdapter.DecisionLogicService.IntegrationSoapClient cl = new CRMAdapter.DecisionLogicService.IntegrationSoapClient("IntegrationSoap");
            return cl.HelloWorld();
        }

        public static string CreateRequestCode(DecisionLogicEntity DecisionLogicEntity1)
        {
            CRMAdapter.DecisionLogicService.IntegrationSoapClient cl = new CRMAdapter.DecisionLogicService.IntegrationSoapClient("IntegrationSoap");
            return cl.CreateRequest(DecisionLogicEntity1.serviceKey, DecisionLogicEntity1.siteUserGuid, DecisionLogicEntity1.profileGuid, DecisionLogicEntity1.customerId, DecisionLogicEntity1.firstName, DecisionLogicEntity1.lastName, DecisionLogicEntity1.accountNumber, DecisionLogicEntity1.routingNumber, DecisionLogicEntity1.contentServiceId);
        }
    }
}
